/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * Copyright (C) chaitanya chandel 2009 <cchandel@yahoo.com>
 * 
 * dbus-stuff.h is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * dbus-stuff.h is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <E_DBus.h>
#include <Elementary.h>

#define PLAYING 1
#define PAUSE 0

void occupy_cpu(void);
void release_cpu(void);
void incoming_call_listener(void);
void pause_on_call(void *data, DBusMessage *msg);
void dbus_reply_cb(void *data, DBusMessage *replymsg, DBusError *error);
void bluetooth_on(void);
void bluetooth_off(void);

E_DBus_Connection *conn;
extern void play_button_clicked(void *data, Evas_Object *obj, void *event_info);
extern int play_state, vol, fd, bass, treble, PHONE;
extern Evas_Object *win;
